package org.jeecg.modules.operations.assistant.xcbd.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecg.common.constant.ProvinceCityArea;
import org.jeecg.common.util.SpringContextUtils;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 收款记录
 * @Author: jeecg-boot
 * @Date:   2025-01-08
 * @Version: V1.0
 */
@Data
@TableName("xcbd_collection_record")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="xcbd_collection_record对象", description="收款记录")
public class XcbdCollectionRecord implements Serializable {
    private static final long serialVersionUID = 1L;

    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;

    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
    /**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
    /**更新日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
    /**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
    /**所属销售合同*/
//    @Excel(name = "所属销售合同", width = 15)
    @ApiModelProperty(value = "所属销售合同")
    private java.lang.String salesContractId;
    /**订单号*/
    @Excel(name = "订单号", width = 15)
    @ApiModelProperty(value = "订单号")
    private java.lang.String orderNumber;
    /**收款日期*/
    @Excel(name = "收款日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "收款日期")
    private java.util.Date collectionDate;
    /**款项类型*/
    @Excel(name = "款项类型", width = 15, dicCode = "payment_type")
    @Dict(dicCode = "payment_type")
    @ApiModelProperty(value = "款项类型")
    private java.lang.String paymentType;
    /**收款金额*/
    @Excel(name = "收款金额", width = 15)
    @ApiModelProperty(value = "收款金额")
    private java.math.BigDecimal amountCollected;
    /**付款方式*/
    @Excel(name = "付款方式", width = 15, dicCode = "payment_method")
    @Dict(dicCode = "payment_method")
    @ApiModelProperty(value = "付款方式")
    private java.lang.String paymentMethod;
    /**交易状态*/
    @Excel(name = "交易状态", width = 15)
    @ApiModelProperty(value = "交易状态")
    private java.lang.String tradeState;
    /**交易状态描述*/
    @Excel(name = "交易状态描述", width = 15)
    @ApiModelProperty(value = "交易状态描述")
    private java.lang.String tradeStateDesc;
    /**收款人*/
    @Excel(name = "收款人", width = 15)
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
    /**收款人*/
//    @Excel(name = "收款人", width = 15)
    @ApiModelProperty(value = "收款人")
    private java.lang.String recipient;
    /**收款凭证*/
//    @Excel(name = "收款凭证", width = 15)
    @ApiModelProperty(value = "收款凭证")
    private java.lang.String receiptVoucher;
    /**到账状态*/
    @Excel(name = "到账状态", width = 15, dicCode = "receipt_status")
    @Dict(dicCode = "receipt_status")
    @ApiModelProperty(value = "到账状态")
    private java.lang.String receiptStatus;
    /**流程发起人*/
    @Excel(name = "当前流程处理人", width = 15)
    @ApiModelProperty(value = "流程发起人")
    private java.lang.String processInitiator;
    /**流程状态*/
    @Excel(name = "流程状态", width = 15)
    @ApiModelProperty(value = "流程状态")
    private java.lang.String processStatus;
    /**流程进展*/
    @Excel(name = "流程进展", width = 15)
    @ApiModelProperty(value = "流程进展")
    private java.lang.String processProgress;
    /**流程启动时间*/
//    @Excel(name = "流程启动时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "流程启动时间")
    private java.util.Date processStartTime;
    /**流程结束时间*/
//    @Excel(name = "流程结束时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "流程结束时间")
    private java.util.Date processEndTime;

    /**扫码支付URL*/
//    @Excel(name = "扫码支付URL", width = 15)
    @ApiModelProperty(value = "扫码支付URL")
    private java.lang.String scanCodePayUrl;

}
